package basics.cankao;

import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.util.List;

/**
 * @author Ldanniel
 * @description :
 * @date 2022/11/01 22:24
 * @since open jdk 1.8
 */

public class ActionDefination {
    //该方法所对应的类
    private Class<?> klass;
    // 执行该方法的对象
    private Object object;
    // 该方法
    private Method method;
    // 该方法的所有参数　　　　　
    private List<Parameter> paramerterList;

    public ActionDefination(Class<?> klass, Object object, Method method, List<Parameter> paramerterList) {
        this.klass = klass;
        this.object = object;
        this.method = method;
        this.paramerterList = paramerterList;
    }

    protected Class<?> getKlass() {
        return klass;
    }

    protected Object getObject() {
        return object;
    }

    protected Method getMethod() {
        return method;
    }

    protected List<Parameter> getParamerterList() {
        return paramerterList;
    }

}